package test;

import org.abettor.smartswt.global.SingletonGlobalInfo;
import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.widgets.Button;

public class FuckMouseListener extends MouseAdapter
{
	public void mouseUp(MouseEvent e)
	{
		SingletonGlobalInfo sgi = SingletonGlobalInfo.getInstance();
		Button btn = (Button) sgi.getWidget("main", "btn2");
		btn.setSelection(! btn.getSelection());
	}
}
